﻿using MediatR;
using SheepCultivation.Common.Dto;

namespace SheepCultivation.API.AddliCation.PurchaseSales
{
    public class SheepBuyCreateCommon : IRequest<Result>
    {
        /// <summary>
        /// 耳号
        /// </summary>
        public int BreedingSheepArchiveId { get; set; }
        /// <summary>
        /// 栋舍
        /// </summary>
        public int BuildingId { get; set; }
        /// <summary>
        /// 转入栏位
        /// </summary>
        public int ColumnsId { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string GoodName { get; set; }
        /// <summary>
        /// 计量单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// 只均单价
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 单位折扣
        /// </summary>
        public decimal Settlement { get; set; }
        /// <summary>
        /// 总重量
        /// </summary>
        public int Weight { get; set; }
        /// <summary>
        /// 采购员
        /// </summary>
        public int BuyerId { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        public string Category { get; set; }
        /// <summary>
        /// 摘要
        /// </summary>
        public int AbsrtactId { get; set; }
        /// <summary>
        /// 采购日期
        /// </summary>
        public DateTime BuyDate { get; set; }
        /// <summary>
        /// 核算单元Id
        /// </summary>
        public int AccountingunitId { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? Numberes { get; set; }
        /// <summary>
        /// 羊只类型
        /// </summary>
        public int SheepTypesId { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public int VendorId { get; set; }
        /// <summary>
        /// 流水号
        /// </summary>
        public string? SerialNumber { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public int DepotId { get; set; }
    }
}
